package com.hspedu.homework.homework02;

/**
 * @Author Stringzhua
 * @Date 2024/3/7 14:32
 * description:
 */
public class TestFork {
    public static void main(String[] args) {
        System.out.println(Frock.getNextNum());//100100
        System.out.println(Frock.getNextNum());//100200

        Frock frock = new Frock();
        System.out.println(frock.getSerialNumber());//100300
        Frock frock1 = new Frock();
        System.out.println(frock1.getSerialNumber());//100400
        Frock frock2 = new Frock();
        System.out.println(frock2.getSerialNumber());//100500
    }
}
